#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam1.py
# author:王雯雯
# datetime:2024-11-12 
# software: PyCharm

"""
    将题目写在这儿：题目1 定义字符串并赋值，打印输出以下格式的内容；
"""
class Dept:
    def __init__(self, dno, dname, dean):
        self.dno = dno
        self.dname = dname
        self.dean = dean

    def __str__(self):
        return f"院系编号: {self.dno}, 院系名称: {self.dname}, 系主任: {self.dean}"